package com.itheima.service;

import com.itheima.pojo.*;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author: Alice
 * @Description:
 * @Date 2020/1/9 20:04
 **/
public interface RoleService {
    List<Role> getRoleByRoleName(String username);

    void add(Role role);

    void edit(Role role);

    PageResult findAll(QueryPageBean queryPageBean);

    void deleteById(int id);

    RolePermissionMenuVo findById(int id);

    List<Permission> findPermission();

    List <Menu> findMenus();
}
